package cn.tedu.web.service;

import com.baomidou.mybatisplus.extension.service.IService;

import cn.tedu.web.entity.User;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author issen
 * @since 2021-09-17
 */
public interface IUserService extends IService<User> {
    // 用户注册
    public String register(String email, String password, String nickname);

    // 用户激活
    public String active(Integer id);

    // 登录验证
    public Integer findUserByEmailAndPassword(String email, String password);

    public String findNickNameById(Integer uid);
}
